<template>
    <div>
        <Header></Header>
        <div class="researchWarp" :style="{'background':(styles ? styles : '#1876d2')}">
            <styleModal v-if="isChStShow" @styleids="changeStyleFn"></styleModal>
            <div class="contentBox">
                <router-view />
            </div>
        </div>
    </div>

</template>

<script>
    import Header from "@c/Header/head";
    import styleModal from "@c/Style/changeStyle.vue"
    import researchManagementList from '@c/research/researchManagementList.vue'
    export default {
        components: {
            styleModal,
            researchManagementList,
            Header
        },
        data() {
            return {
                isChStShow: false, //是否显示空间装扮控制
                styles: '#f1f1f1',
                // search: "",
                // select: '',
            }
        },
        methods: {
            changeStyleFn(payload) {
                this.styles = payload;
            },
        }

    }
</script>

<style lang="scss" scoped>
    .researchWarp {

        .header {
            width: 100%;
            background-color: #409EFF;

            .headerInner {
                width: 81%;
                margin: 0 auto;
                color: wheat;

                h3 {
                    float: left;
                    color: white;
                }

                .management {
                    float: right;
                    margin-top: 12px;

                    .search {
                        float: left;
                        width: 400px;
                        margin-right: 40px;
                    }

                    .setUpThe {
                        margin-top: 10px;
                        float: left;
                        -moz-user-select: none;
                        -webkit-user-select: none;
                        -ms-user-select: none;
                        -khtml-user-select: none;
                        user-select: none;

                        label {
                            color: white;
                            margin-right: 20px;
                            font-size: 14px;
                            cursor: pointer;
                        }
                    }
                }
            }
        }

        .contentBox {
            width: 100%;
            margin: 0 auto;
        }
    }

    .clearFix::after {
        content: "";
        display: block;
        width: 100%;
        font-size: 0;
        clear: both;
    }
</style>